package com.qijia.common.domain;

import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * CommonResource entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "common_resource", catalog = "qijia")
public class Resource extends AbstractCommonResource  {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3181588276544219771L;

	// Constructors

	/** default constructor */
	public Resource() {
	}

	/** minimal constructor */
	public Resource(String CResourceName, Integer CResourceType) {
		super(CResourceName, CResourceType);
	}

	/** full constructor */
	public Resource(String CResourceName, String CResourceTitle,
			String CResourceCode, String CResourceUrl, Integer CResourceType,
			Set<RoleResource> roleResources) {
		super(CResourceName, CResourceTitle, CResourceCode, CResourceUrl,
				CResourceType, roleResources);
	}

}
